package com.itcast.chengma.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itcast.chengma.domain.Comment;
import com.itcast.chengma.domain.vo.CommentVo;

import java.util.List;

/**
 * 评论业务层接口
 *
 * @Author XiaoJiangShi
 * @Date 2022/8/25 9:31
 * @Blog blog.XiaoJiangShi.net/996.mba
 * @Description: 评论业务层接口
 */
public interface CommentService extends IService<Comment> {

    /**
     * 获取所有评论集合
     * @param id 问题id
     * @return 评论集合
     */
    List<CommentVo> getListById(Long id);
}
